package com.syswin.lhztest.demoSwagger.model;

/**
 * @author:lhz
 * @date:2018/12/8 16:33
 */
public class Test {


	public static void main(String[] args) {
		SomeArray<Integer> some = new SomeArrayImpl<>(1, 2, 3);
		System.out.println(some.isEmpty()); // false
		System.out.println(some.head());    // 1
		System.out.println(some.rest());    // new SomeArrayImpl<>(2. 3)
		System.out.println(some.tail());    // 3
	}
}
